{layout name="layout" /}

<div class="Hui-article">
    <div class="pd-20" style="min-width: 800px; max-width: 70%;">
        <div class="cl pd-5 bg-1 bk-gray mt-20">
            <span class="l">
              <label class="btn btn-success radius">
					<i class="Hui-iconfont">&#xe667;</i> 装修报价表</label>
            </span>
        </div>
        <div class="mt-20">
            <table class="table table-border table-bordered table-bg table-hover table-sort">
                <thead>
                    <tr class="text-c">
                        <th width="20px">
                            <input type="checkbox" value="" name="allcheck">
                        </th>
                        <th width="30px">ID</th>
                        <th width="120px">提交人</th>
                        <th width="120px">联系方式</th>
                        <th width="120px">房屋所在地区</th>
                        <th width="120px">房屋面积</th>
                        <th width="60px">来源</th>
                        <th width="120px">发布日期</th>
                    </tr>
                </thead>
                <tbody>
                    {foreach $data as $val}
                    <tr class="text-c va-m">
                        <td>
                            <input type="checkbox" value="{$val.id}" name="checkbox[]">
                        </td>
                        <td>{$val.id}</td>
                        <td>{$val.username}</td>
                        <td>{$val.telphone}</td>
                        <td>{$district[$val.district]}</td>
                        <td>{$val.acreage}<span style="font-size: 1.25em">m</span><sup>2</sup></td>
                        <td>{$source[$val.source]}</td>
                        <td class="text-c">{$val.time|date="Y-m-d H:i:s",###}</td>
                    </tr>
                    {/foreach}
                </tbody>
            </table>
        </div>
        <div class="cl pd-5 bg-1 bk-gray mt-20 ">
            <span class="l">共
                <strong>{$counts}</strong> 条, {$pages} 页 </span>

            <span class="r">
                {$data->render()}
            </span>
        </div>
    </div>
</div>
<!-- 请在下方写此页面业务相关的脚本 -->
<script type="text/javascript">
</script>
<!--/请在上方写此页面业务相关的脚本-->